package com.example.demo.entity;

import lombok.Data;

import java.time.LocalDateTime;
@Data
public class Tag {
    private Long id;          // 标签 ID
    private String name;      // 标签名称
    private LocalDateTime createdAt; // 创建时间
    private LocalDateTime updatedAt; // 更新时间

    @Override
    public String toString() {
        return "Tag{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                '}';
    }
}
